rule:
meta:
name: persist via DOTNET_STARTUP_HOOKS registry key
namespace: persistence/registry
authors:
- j.j.vannielen@utwente.nl
scopes:
static: function
dynamic: call
att&ck:
- Persistence::Hijack Execution Flow::DLL Side-Loading [T1574.002]
references:
- https://github.com/dotnet/runtime/blob/main/docs/design/features/host-startup-hook.md
features:
- and:
- match: set registry value
- string: /Environment/i
- string: /DOTNET_STARTUP_HOOKS/i
last edited: 2024-12-09 10:29:56